//
//  JMAuthModel.h
//  NewiOSProject
//
//  Created by apple on 2023/11/29.
//  Copyright © 2023 范智渊. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "JMPickerSelectionModel.h"
NS_ASSUME_NONNULL_BEGIN
@class JMAuthCellModel;
@interface JMQuestionModel : NSObject
//第一步
@property(nonatomic, copy) NSString *overdue;
@property(nonatomic, copy) NSString *overdueDays;
@property(nonatomic, copy) NSString *totalOverdraft;
@property(nonatomic, copy) NSString *loanNumber;
@property(nonatomic, copy) NSString *outstanding;
//第二步
@property(nonatomic, copy) NSString *idNo;
@property(nonatomic, copy) NSString *realName;
@property(nonatomic, copy) NSString *ossIdCardPositiveImg;
//第三步
@property(nonatomic, copy) NSString *liveImg;
@property(nonatomic, copy) NSString *livenessId;

@property(nonatomic, assign) BOOL livingSuccess;

//第四步
@property(nonatomic, copy) NSString *birth;//用户的出生日期
@property(nonatomic, copy) NSString *gender; // 性别
@property(nonatomic, copy) NSString *delegationOrMunicipality; // 代表团
@property(nonatomic, copy) NSString *zh;// 居住城市
@property(nonatomic, copy) NSString *email;// 邮箱
@property(nonatomic, copy) NSString *maritalStatus;// 婚姻状态
@property(nonatomic, copy) NSString *numberOfChildren; // 子女数量
@property(nonatomic, copy) NSString *educationQualification;// 教育水平
//第五步
@property(nonatomic, copy) NSString *jobStatus;//工作
@property(nonatomic, copy) NSString *industry;//行业类型
@property(nonatomic, copy) NSString *monthlyIncome;//月收入
@property(nonatomic, copy) NSString *companyName;//公司名称
@property(nonatomic, copy) NSString *companyPhone;//公司电话
@property(nonatomic, copy) NSString *companyAddr;//公司地址
@property(nonatomic, copy) NSString *salaryType;//薪资类型
@property(nonatomic, copy) NSString *salaryDay1;//发薪日1
@property(nonatomic, copy) NSString *salaryDay2;//发薪日2

//第六步
@property(nonatomic, copy) NSString *relationship1;
@property(nonatomic, copy) NSString *contact1;
@property(nonatomic, copy) NSString *contact1Name;

@property(nonatomic, copy) NSString *relationship2;
@property(nonatomic, copy) NSString *contact2;
@property(nonatomic, copy) NSString *contact2Name;

//第七步
@property(nonatomic, copy) NSString *bankCode;
@property(nonatomic, copy) NSString *bankName;
@property(nonatomic, copy) NSString *bankCard;
@property(nonatomic, copy) NSString *bankCard1;

@property (nonatomic, strong)NSString*pageName;
@property (nonatomic, assign)BOOL isMatch;//银行卡号是否为18位
@property (nonatomic, assign)BOOL isEqual;//两边是否一致

-(BOOL)checkWithAuthCellModel:(JMAuthCellModel *)model andValue:(JMPickerSelectionModel *)value;
-(NSDictionary *)toParam:(NSInteger)step;
@end


@interface JMAuthCellModel : NSObject
//从1 开始 到 7
@property (nonatomic, assign)NSInteger STEP;
@property (nonatomic, assign)BOOL isLiveness;
@property (nonatomic, assign)NSInteger type;
@property (nonatomic, strong)NSString*typeString;


@property (nonatomic, strong)NSString *vcTitle;//控制器标题
@property (nonatomic, strong)NSString *topTitle;//大标题
@property (nonatomic, strong)NSString *title;//问题
@property (nonatomic, strong)NSString *bankCard;//问题
@property (nonatomic, strong)NSString *bankCard1;//问题

@property (nonatomic, assign)BOOL showArrow;
@property (nonatomic, assign)BOOL isKTP;
@property (nonatomic, assign)BOOL isMatch;//银行卡号是否为18位
@property (nonatomic, assign)BOOL isEqual;//两边是否一致

@property (nonatomic, strong)NSString *placeHolder;
@property (nonatomic, strong)NSString *errorMessage;//底部红字提示信息
@property (nonatomic, strong)NSString *leftImgName;
@property (nonatomic, strong)NSString *rightImgName;


@property (nonatomic, strong)NSString *pageName;
@property (nonatomic, strong)NSString *actionType;
@property (nonatomic, strong)NSString *featureName;
@property (nonatomic, strong)NSDictionary *extInfo;



+(NSArray *)defalutModelArray;
@end

NS_ASSUME_NONNULL_END
